package cn.stylefeng.guns.modular.gridsystem.mqtt;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author ssy
 * @date 2023/3/7 13:46
 */
//@ConfigurationProperties("mqtt.client")
//@Configuration
@Data
public class MqttProperties {

    private boolean enable;
    private String brokerUrl;
    private String clientId;
    private String userName;
    private String password;
    private int timeOut;
    private int aliveTime;
    private int  maxConnectTimes;
    private String[] topics;
    private int[] qos;

}
